package com.along.htybrowser.greendao.tab;

import org.greenrobot.greendao.annotation.Entity;
import org.greenrobot.greendao.annotation.Id;
import org.greenrobot.greendao.annotation.Unique;
import org.greenrobot.greendao.annotation.Generated;

/**
 * 收藏表
 *
 * @author wen66to88@163.com
 * @date 2021/7/9 - 15:58
 */
@Entity
public class FavoriteTab {
    @Id
    Long id;
    @Unique
    String website;
    String title;

    public FavoriteTab(String website, String title) {
        this.website = website;
        this.title = title;
    }

    @Generated(hash = 1377518332)
    public FavoriteTab(Long id, String website, String title) {
        this.id = id;
        this.website = website;
        this.title = title;
    }

    @Generated(hash = 1387073448)
    public FavoriteTab() {
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getWebsite() {
        return website;
    }

    public void setWebsite(String website) {
        this.website = website;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    @Override
    public String toString() {
        return "FavoriteTab{" +
                "id=" + id +
                ", website='" + website + '\'' +
                ", title='" + title + '\'' +
                '}';
    }
}
